package data.join.com.http;

import java.io.File;

/**
 * Created by wenlong on 16-4-26.
 */
public class FileBean {
    public String path;
    public String fileName;
    public long length;
    public long lastModified;
    public boolean isDirectory;

    public FileBean(File f){
        fileName = f.getName();
        path = f.getPath();
        length = f.length();
        lastModified = f.lastModified();
        isDirectory = f.isDirectory();
    }
}
